package com.tjetc.service;

import com.tjetc.domian.Apartment;
import com.tjetc.vo.Result;

import java.math.BigDecimal;
import java.util.List;

public interface ApartmentService {
    List<Apartment> list();

    Result del(int id);

    Result update(Apartment apartment);

    Result add(Apartment apartment);

    List<Apartment> listByArea(BigDecimal area);
}
